package com.collect.cameroon.zhiAdater.zhiLevelDetail;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.collect.cameroon.R;
import com.collect.cameroon.zhiBean.zhiReceive.ZHIRPerfermanceGroupRealTimeEntity;

public class ZHILevelDetailGroupRealTime extends BaseQuickAdapter<ZHIRPerfermanceGroupRealTimeEntity, BaseViewHolder> {

    public ZHILevelDetailGroupRealTime() {
        super(R.layout.item_level_detail_group_real_time_list_v2, null);
    }

    @Override
    protected void convert(BaseViewHolder helper, ZHIRPerfermanceGroupRealTimeEntity item) {
        helper.setText(R.id.tv_ildgrtl_name, item.getSysLoginName());
        helper.setText(R.id.tv_ildgrtl_total, item.getTotalNum() + "");
        helper.setText(R.id.tv_ildgrtl_add, item.getTodayAddNum() + "");
        helper.setText(R.id.tv_ildgrtl_settled, item.getTodaySettleNum() + "");
        helper.setText(R.id.tv_ildgrtl_not_mark, item.getTodayNotMarkNum() + "");
        helper.setText(R.id.tv_ildgrtl_number, item.getNumber() + "");
        helper.setText(R.id.tv_ildgrtl_call_duration, item.getWhatsappFollowedNum() + "");

    }
}
